require.config({
    map: {
        "*": {
            "css": "https://lib.baomitu.com/require-css/0.1.10/css.js"
        }
    },
    paths: {
        "jquery": [
            "https://lib.baomitu.com/jquery/3.6.0/jquery",
            "./jquery"
        ],
        "css": [
            "https://lib.baomitu.com/require-css/0.1.10/css",
            "./css"
        ],
        "bootstrap": [
            "https://lib.baomitu.com/twitter-bootstrap/5.0.2/js/bootstrap",
            "./bootstrap"
        ],
        "markdown-it": [
            "https://lib.baomitu.com/markdown-it/12.1.0/markdown-it",
            "./markdown-it"
        ],
        "@popperjs/core": [
            "https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper",
            "./popper"
        ],
        "popper": [
            "https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper",
            //"https://lib.baomitu.com/popper.js/2.9.2/cjs/popper"
            "./popper"
        ],
        "require-domReady": [
            "https://lib.baomitu.com/require-domReady/2.0.1/domReady"
        ],
        "vue": [
            "https://lib.baomitu.com/vue/3.2.0-beta.6/vue.global",
            "./vue.global"
        ],
        "html-header":[
            "../struct/header"
        ],
        "highlight": [
            "https://lib.baomitu.com/highlight.js/9.18.5/highlight.min",
            "./highlight"
        ]
    },
    shim: {
        "bootstrap": {
            deps: [
                //"popper",
                //"css!https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.css",
                //"css!https://lib.baomitu.com/twitter-bootstrap/5.0.2/css/bootstrap.css",
                //"css!https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css",
            ]
        },
        "popper": {
            exports: 'exports'
        },
        "vue": {
            exports: 'Vue'
        }
    },
})
//require(["bootstrap"]);
require(["css!../css/debug.css"]);
require(["css!https://lib.baomitu.com/twitter-bootstrap/5.0.2/css/bootstrap.css"]);
require(["css!https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"]);
require(["jquery", "vue"], function(jquery, vue) {
    window.$ = jquery;
    window.Vue = vue;
    require(["bootstrap"], function (boot) {
        window.bs = boot;
    });
    if (typeof(onLoad) != "undefined") onLoad();
});
